//
//  ViewController.m
//  GXKPhotos
//
//  Created by 乐善街 on 16/6/17.
//  Copyright © 2016年 tianchuanshangwu. All rights reserved.
//

#import "ViewController.h"
#import "GXKMultipleViewController.h"
#import "AuthcodeView.h"
#import "labelViewCell.h"
@interface ViewController (){

  AuthcodeView *authCodeView;
    
}
@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
  //本地验证码
//    authCodeView = [[AuthcodeView alloc] initWithFrame:CGRectMake(30, 100, 67, 30)];
//    [self.view addSubview:authCodeView];
    
//    //测试
//    UIView *view=[[UIView alloc]initWithFrame:CGRectMake(50, 50,300, 300)];
//    view.backgroundColor=[UIColor redColor];
//    [self.view addSubview:view];
//    UILabel *label=[[UILabel alloc]initWithFrame:CGRectMake(-50, 20, 150, 20)];
//    label.textAlignment=NSTextAlignmentCenter;
//    label.backgroundColor=[UIColor greenColor];
//    label.transform=CGAffineTransformMakeRotation(-M_PI/4.0);
//    label.font=[UIFont systemFontOfSize:13];
//    label.text=@"尚科在线";
//    view.clipsToBounds=YES;
//    [view addSubview:label];
//  CGFloat width=(self.view.frame.size.width-48)/2.0;
//    
//    for (int i=0; i<4; i++) {
//        
//        labelViewCell *label=[[labelViewCell alloc]initWithFrame:CGRectMake(16+(i%2)*(width+16),64+(i/2)*182, width, 182)];
////        label.backgroundColor=[UIColor grayColor];
//        [label showDIC:nil];
//        [self.view addSubview:label];
//    }
//      
    
  
    
    
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}
- (IBAction)click:(UIButton *)sender {
    
    GXKMultipleViewController *multipleVC=[[GXKMultipleViewController alloc]init];
    multipleVC.maxMultiple=5;
    UINavigationController *NVC=[[UINavigationController alloc]initWithRootViewController:multipleVC];
    [self presentViewController:NVC animated:YES completion:nil];
    
    
}

@end
